<div class="menu">
	<div align="right" style="font-weight:bold; font-size:12px; padding-bottom:8px; color:#10498A;">
		<?php echo $this->Access->getMyRole($this->Access->getMy('group_id')).": ".$this->Access->getMy('nombre_completo');?>
	</div>
	<div class="desplegable">
		<?php  $this->Form->new_menu($this->Access->getMy('id'),$this->Access->getMy('group_id'));?>
	</div>
</div>
<div class="transferencias index">
	<h2><?php __('Certificaci&oacute;n y promoci&oacute; de los estudiantes');?></h2>
	<table>
		<tr>
		<?php if($group_id == '1' || $group_id == '3') {?>		
				<td class="actions_2"><?php echo $this->Html->link(__('Crear Informe', true), array('action' => 'add', $bimestre, $year, $zona)); ?></td>
		<?php } ?>
			<td class="actions_2"><?php echo $this->Html->link(__('Regresar a Informe tecnico - pedagogico', true), array('controller'=>'Zonas','action' => 'informe', $bimestre, $year, $zona)); ?></td>
		</tr>
	</table>
	<table cellpadding="0" cellspacing="0">
	<tr>
			<th><?php echo $this->Paginator->sort('ID');?></th>			
			<th><?php echo $this->Paginator->sort('tipo informe');?></th>			
			<th><?php echo $this->Paginator->sort('Creado');?></th>			
			<th class="actions"><?php __('Acciones');?></th>
	</tr>
	<?php
	$i = 0;
	foreach ($registros as $transferencia):
		$class = null;
		if ($i++ % 2 == 0) {
			$class = ' class="altrow"';
		}
	?>
	<tr<?php echo $class;?>>
		<td><?php echo $transferencia['Transferencia']['id']; ?>&nbsp;</td>		
		<td><?php echo $transferencia['Transferencia']['tipo']; ?>&nbsp;</td>		
		<td><?php echo $transferencia['Transferencia']['created']; ?>&nbsp;</td>
		
		<td class="actions">
			<?php echo $this->Html->link(__('Ver', true), array('action' => 'View', $transferencia['Transferencia']['id'])); ?>
			<?php
				if($group_id == '1' || $group_id == '3') { 
					echo $this->Html->link(__('Editar', true), array('action' => 'Edit', $transferencia['Transferencia']['id'], $bimestre, $year, $zona)); 
					echo $this->Html->link(__('Delete', true), array('action' => 'delete', $transferencia['Transferencia']['id']), null, sprintf(__('Are you sure you want to delete # %s?', true), $transferencia['Transferencia']['id'])); 
				}
			?>
		</td>
	</tr>
<?php endforeach; ?>
	</table>
	<p>
	<?php
	echo $this->Paginator->counter(array(
	'format' => __('Page %page% of %pages%, showing %current% records out of %count% total, starting on record %start%, ending on %end%', true)
	));
	?>	</p>

	<div class="paging">
		<?php echo $this->Paginator->prev('<< ' . __('previous', true), array(), null, array('class'=>'disabled'));?>
	 | 	<?php echo $this->Paginator->numbers();?>
 |
		<?php echo $this->Paginator->next(__('next', true) . ' >>', array(), null, array('class' => 'disabled'));?>
	</div>
</div>